<script>

 // ...
 if (/'|"/gi.test(placeholders.join(''))) {
    result[name].type = 'string';
 }
 /* xs */
</script>
